package com.iot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.iot.model.dto.DeviceDataBpDto;
import com.iot.model.entity.DeviceDataBpEntity;
import com.iot.model.entity.DeviceDataStepsEntity;
import com.iot.model.query.DeviceDataBpQuery;
import com.iot.commons.ResponseResult;
import com.iot.model.query.FollowQuery;

import java.util.List;

/**
 * DeviceDataBpService
 * @author: dh
 * @date: 2024-04-21 10:14:30
 */
public interface DeviceDataBpService {

    ResponseResult getList(DeviceDataBpQuery deviceDataBp);

    ResponseResult edit(DeviceDataBpDto deviceDataBp);

    ResponseResult upload(List<DeviceDataBpDto> deviceDataBp, Long authId);

    ResponseResult getById(DeviceDataBpQuery deviceDataBp);

    IPage<DeviceDataBpEntity> getByDate(FollowQuery follow, Long followAuthId);
}
